<!DOCTYPE html>
<html lang="zxx">

	<head>
		<title>长沙网商装饰后台登入页面</title>
		<!-- custom-theme -->
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="keywords" content="Esteem Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />

		<script type="application/x-javascript">
			addEventListener("load", function() {
				setTimeout(hideURLbar, 0);
			}, false);

			function hideURLbar() {
				window.scrollTo(0, 1);
			}
		</script>
		<!-- //custom-theme -->
		<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
		<link href="css/component.css" rel="stylesheet" type="text/css" media="all" />
		<link href="css/style_grid.css" rel="stylesheet" type="text/css" media="all" />
		<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
		<!-- font-awesome-icons -->
		<link href="css/font-awesome.css" rel="stylesheet">
		<!-- //font-awesome-icons -->
		<link href="//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800" rel="stylesheet">
	</head>

	<body>

		<!-- banner -->
		<div class="wthree_agile_admin_info">
			<!-- /w3_agileits_top_nav-->
			<!-- /nav-->
			<div class="w3_agileits_top_nav">
				<ul id="gn-menu" class="gn-menu-main">

					<!-- //nav_agile_w3l -->
					<li class="second logo admin">
						<h1><a href="#"><i class="fa fa-graduation-cap" aria-hidden="true"></i>长沙网商装饰</a></h1></li>

					<li class="second full-screen">
						<section class="full-top">
							<button id="toggle"><i class="fa fa-arrows-alt" aria-hidden="true"></i></button>
						</section>
					</li>

				</ul>
				<!-- //nav -->

			</div>
			<div class="clearfix"></div>
			<!-- //w3_agileits_top_nav-->

			<!-- /inner_content-->
			<div class="inner_content">
				<!-- /inner_content_w3_agile_info-->
				<div class="inner_content_w3_agile_info">

					<div class="registration admin_agile">

						<div class="signin-form profile admin">
							<h2>管理员登入</h2>
							<div class="login-form">
								
									<input id="accout" type="text" name="name" value="" placeholder="请输入用户名" required="">
									<input id="password" type="password" name="password" value="" placeholder="请输入密码" required="">
									<div class="tp">
										<input id="submitBtm" type="submit" value="登录">
									</div>
								
							</div>
						</div>

					</div>
				</div>
			</div>
			
			<div class="copyrights">
				<p>© 2017 tenghui. All Rights Reserved | Design by
					<a href="http://www.cswszs" target="_blank">腾慧科技</a>
				</p>
			</div>

			<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
			<script type="text/javascript" src="js/jquery.cookie.js"></script>
			<script src="js/modernizr.custom.js"></script>

			<script src="js/classie.js"></script>
			<script src="js/gnmenu.js"></script>
			<script>
				new gnMenu(document.getElementById('gn-menu'));
			</script>

			<script src="js/prettymaps.js"></script>
			<script>
				$(function() {
					//default
					$('.map-canvas').prettyMaps({
						address: 'Melbourne, Australia',
						image: 'map-icon.png',
						hue: '#FF0000',
						saturation: -20
					});

					
					$('#default-map-btn').on('click', function() {
						$('.map-canvas').prettyMaps();
					});

					//green map example
					$('#green-map-btn').on('click', function() {
						$('.map-canvas').prettyMaps({
							address: 'Melbourne, Australia',
							image: 'map-icon.png',
							hue: '#00FF55',
							saturation: -30
						});
					});

					//blue map example
					$('#blue-map-btn').on('click', function() {
						$('.map-canvas').prettyMaps({
							address: 'Melbourne, Australia',
							image: 'map-icon.png',
							hue: '#0073FF',
							saturation: -30,
							zoom: 16,
							panControl: true,
							zoomControl: true,
							mapTypeControl: true,
							scaleControl: true,
							streetViewControl: true,
							overviewMapControl: true,
							scrollwheel: false,
						});
					});

					//grey map example
					$('#grey-map-btn').on('click', function() {
						$('.map-canvas').prettyMaps({
							address: 'Melbourne, Australia',
							image: 'map-icon.png',
							saturation: -100,
							lightness: 10
						});
					});
					
					$("#submitBtm").on("click",function(){
						if($("#accout").val() == "admin" && $("#password").val() == "123456"){
							$.cookie('user', 'admin', { expires: 1, path: '/' });
							window.location.href='main.html';
						}else{
							alert("账号或密码错误")
						}
					});
					
				});
			</script>
			<!-- //js -->
			<script src="js/screenfull.js"></script>
			<script>
				$(function() {
					$('#supported').text('Supported/allowed: ' + !!screenfull.enabled);

					if(!screenfull.enabled) {
						return false;
					}

					$('#toggle').click(function() {
						screenfull.toggle($('#container')[0]);
					});
				});
			</script>
			<script src="js/jquery.nicescroll.js"></script>
			<script src="js/scripts.js"></script>
			<script type="text/javascript" src="js/bootstrap-3.1.1.min.js"></script>

	</body>

</html>